﻿namespace AutofacDemo
{
    public class Person
    {
        public IHelloService HelloService { get; set; }
        public virtual void SayHi(string name)
        {

        }

        public virtual void SayHello(string name)
        {

        }
    }
}